package com.webshopping.entry;

import java.util.Arrays;

public class Advertisement {

	private int id;
	private int goodsType;
	private  byte[] advImg;
	private String imgName;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getGoodsType() {
		return goodsType;
	}
	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}
	public byte[] getAdvImg() {
		return advImg;
	}
	public void setAdvImg(byte[] advImg) {
		this.advImg = advImg;
	}
	public String getImgName() {
		return imgName;
	}
	public void setImgName(String imgName) {
		this.imgName = imgName;
	}
	@Override
	public String toString() {
		return "Advertisement [id=" + id + ", goodsType=" + goodsType + ", advImg=" + Arrays.toString(advImg) + ", imgName="
				+ imgName + "]";
	}
	
	
	
}
